﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;

/// <summary>
/// 客服登录管理，客服登陆后，自己建立一个聊天服务器
/// </summary>
public class CustomServiceLogin : MonoBehaviour
{
    [SerializeField]
    private string serverName_ = "客服1";//创建服务器时，显示的名字
    [SerializeField]
    private NetworkManager networkManager_;
    [SerializeField]
    private TelepathyTransport transport_;
    
    [ContextMenu("startHost")]
    public void startHost()
    {
        transport_.port = 7776;
        networkManager_.StartHost();
    }
}
